<template>
  <div class="hello">
    <router-link to="/menu">
      <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white"> 
      <van-swipe-item><img src="homeimg/limg_1.png" alt=""></van-swipe-item>
      <van-swipe-item><img src="homeimg/limg_2.png" alt=""></van-swipe-item>
      <van-swipe-item><img src="homeimg/limg_3.png" alt=""></van-swipe-item>
      <van-swipe-item><img src="homeimg/limg_4.png" alt=""></van-swipe-item>
    </van-swipe>
    </router-link>
    
  </div>
</template>

<script>
export default {};
</script>

<style scoped>

.hello {
  width: 3.75rem;
  height: 2rem;
  background-color: red;
}
.my-swipe .van-swipe-item {
   width: 100%;
  height: 2rem;
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  background-color: #39a9ed;
}
img{
    width: 3.75rem;
  height: 2rem;
}
</style>
